﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Students
    {
        private string _name;
        private string _class;
        public static string _teacher="唐僧";
        

        public string Name { get; set; }
        public string Class { get; set; }
        

        public Students(string name,string cla)
        {
            this.Name = name;
            this.Class = cla;
        }
            
        public void Vvv()
        {
            Console.WriteLine("大家好，我是{0}的{1}，我的老师是{2}",this.Class,this.Name,_teacher);
        }
    }
}
